package shop.web.controller.manage.offline;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import shop.core.Services;
import shop.services.manage.offline.OfflineService;
import shop.services.manage.offline.bean.Offline;
import shop.core.BaseController;

/**
 * Created by Administrator on 2017/4/15.
 */
@Controller
@RequestMapping("/manage/offline/")
public class OfflineAction extends BaseController<Offline> {
    @Autowired
    private OfflineService offlineService;
    private static final String page_toList = "/manage/offline/offlineList";
    private static final String page_toEdit = "/manage/offline/offlineEdit";
    private static final String page_toAdd = "/manage/offline/offlineAdd";

    private OfflineAction() {
        super.page_toList = page_toList;
        super.page_toAdd = page_toAdd;
        super.page_toEdit = page_toEdit;
    }

    @Override
    public Services<Offline> getService() {
        return offlineService;
    }
}